<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>AI音乐后台管理系统</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
	href="${pageContext.request.contextPath}/assets/css/bootstrap.min.css"
	rel="stylesheet" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/font-awesome.min.css" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/ace.min.css" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/ace-rtl.min.css" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/ace-skins.min.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/ace-extra.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/bootstrap.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/typeahead-bs2.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery.slimscroll.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery.easy-pie-chart.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery.sparkline.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/flot/jquery.flot.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/flot/jquery.flot.pie.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/flot/jquery.flot.resize.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/ace-elements.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/ace.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/base.js"></script>
	<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/modifyUser.js"></script>
</head>
<body>
	<!-- 头 -->
	<div class="navbar navbar-default" id="navbar">
		<%@include file="admintop.jsp"%>
	</div>
	<div class="main-container-inner">
		<a class="menu-toggler" id="menu-toggler" href="#"><span class="menu-text"></span> 
		</a>
		<!-- 左边导航条 -->
		<div class="sidebar" id="sidebar">
			<%@include file="admincategory.jsp"%>
		</div>

		<div class="main-content">
			<div class="breadcrumbs" id="breadcrumbs">
				<ul class="breadcrumb">
					<li><i class="icon-home home-icon"></i> <a
						href="/music/admin/toAdminLogin.do">首页</a></li>
					<li class="active">修改用户信息</li>
				</ul>
				<%@include file="adminselect.jsp"%>
			</div>

			<div class="page-content">

				<div class="row">
					<div class="col-xs-12">
						<!-- PAGE CONTENT BEGINS -->

						<div class="alert alert-block alert-success">
							<button type="button" class="close" data-dismiss="alert">
								<i class="icon-remove"></i>
							</button>
							<i class="icon-ok green"></i> 欢迎使用 <strong class="green">
								ai音乐后台管理系统<small>(v1.2)</small> </strong>
						</div>

						<form class="form-horizontal"
							action="action?key=adminModifyUserJudgeModel" method="post"
							name="myFrom">
							<input type="hidden" value="${user.user_id }" name="userid">
							<div id="user-profile-3" class="user-profile row">
								<div class="col-sm-offset-1 col-sm-10">
									<div class="well well-sm">
										<button type="button" class="close" data-dismiss="alert">×</button>
										&nbsp;
										<div class="inline middle blue bigger-110">信息完善度100%</div>
										&nbsp; &nbsp; &nbsp;
										<div style="width:200px;" data-percent="100%"
											class="inline middle no-margin progress progress-striped active">
											<div class="progress-bar progress-bar-success"
												style="width:100%"></div>
										</div>
									</div>
									<!-- /well -->

									<div class="space"></div>
									<div class="tabbable">
										<ul class="nav nav-tabs padding-16">
											<li class="active"><a data-toggle="tab" href="#"> <i
													class="green icon-edit bigger-125"></i> 修改用户信息 </a></li>
										</ul>
										<div class="tab-content profile-edit-tab-content">
											<div id="edit-basic" class="tab-pane in active">
												<h4 class="header blue bolder smaller">基本信息</h4>
												<div class="row">
													<div style="height: 150px; width: 600px;">
														<img id="headimg" src="../image/user/${user.head}"
															width="70" height="70"> <input type="hidden"
															title="头像" value="${user.head}" name="head" id="head">
														<div onclick="showchoose()"
															style="color: #A19E0C;font-size: 11px;line-height: 20px;float: left;">选择头像</div>
														<div style="float: left;text-align: center;">
															<div id="chooseimg"
																style="border:2px solid #9F9C0A; background-color: #E6E6E6;height: 150px;width: 240px;float: left; position: absolute;display:none;">
																<input type="hidden" value="" title="头像" name="userhead"
																	id="userhead">
																<!-- <c:forEach begin="1" end="15" step="1"varStatus="status">
																	<div id="${status.index}"
																		style="float:left; width: 42px;height: 50px;filter:alpha(opacity=50);z-index: 3;cursor: hand;">
																		<img src="../image/user/${status.index}.gif"
																			style="width: 40px; height: 45px;float: left;"
																			onmouseover="showfilter(${status.index })"
																			onmouseout="hidefilter(${status.index })"
																			onmousedown="show_img(${status.index })" />
																	</div>
																</c:forEach> -->
															</div>
														</div>
													</div>
												</div>
											</div>
											<div class="vspace-xs"></div>
											<div class="col-xs-12 col-sm-8">
												<div class="form-group">
													<label class="col-sm-4 control-label no-padding-right"
														for="form-field-username">用户名</label>
													<div class="col-sm-8">
														<input class="col-xs-12 col-sm-10" type="text" title="用户名"
															id="username" name="user_name" placeholder="用户名"
															value="${user.user_name }">
													</div>
												</div>
											</div>
										</div>
									</div>
									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right">管理员</label>
										<div class="col-sm-9">
											<label class="inline"> <input name="isadmin"
												type="radio" class="ace" checked="checked" value="1">
												<span class="lbl"> 授予</span> </label>&nbsp; &nbsp; &nbsp; <label
												class="inline"> <input name="isadmin" type="radio"
												class="ace" value="0"> <span class="lbl">收回 </span>
											</label>
										</div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"></label>
											<div class="col-sm-9">
												<label class="inline"> <input type="hidden"
													class="ace" checked="checked" value="1"> <span
													class="lbl"> </span> </label>&nbsp; &nbsp; &nbsp; <label
													class="inline"> <input type="hidden" class="ace"
													value="0"> <span class="lbl"> </span> </label>
											</div>
										</div>
										<label class="col-sm-3 control-label no-padding-right">冻结</label>
										<div class="col-sm-9">
											<label class="inline"> <input name="isFrozen"
												type="radio" class="ace" checked="checked" value="1">
												<span class="lbl"> 是</span> </label>&nbsp; &nbsp; &nbsp; <label
												class="inline"> <input name="isFrozen" type="radio"
												class="ace" value="0"> <span class="lbl">否 </span> </label>
										</div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"></label>
											<div class="col-sm-9">
												<label class="inline"> <input type="hidden"
													class="ace" checked="checked" value="1"> <span
													class="lbl"> </span> </label>&nbsp; &nbsp; &nbsp; <label
													class="inline"> <input type="hidden" class="ace"
													value="0"> <span class="lbl"> </span> </label>
											</div>
										</div>
										<div class="space-4"></div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">VIP</label>
											<div class="col-sm-9">
												<label class="inline"> <input name="isVIP"
													type="radio" class="ace" checked="checked" value="1">
													<span class="lbl">开通</span> </label>&nbsp; &nbsp; &nbsp; <label
													class="inline"> <input name="isVIP" type="radio"
													class="ace" value="0"> <span class="lbl">关闭</span>
												</label>
											</div>
										</div>
										<div class="space-4"></div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">性别</label>
											<div class="col-sm-9">
												<label class="inline"> <input name="sex"
													type="radio" class="ace" checked="checked" value="男">
													<span class="lbl">男性</span> </label>&nbsp; &nbsp; &nbsp; <label
													class="inline"> <input name="sex" type="radio"
													class="ace" value="女"> <span class="lbl">女性</span>
												</label>
											</div>
										</div>
										<div class="space-4"></div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"
												for="form-field-comment">个人简介</label>
											<div class="col-sm-9">
												<textarea id="form-field-comment" name="user_profile">${user.user_profile}</textarea>
											</div>
										</div>
										<div class="space"></div>
										<h4 class="header blue bolder smaller">必填信息</h4>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"
												for="form-field-email">邮箱</label>
											<div class="col-sm-9">
												<span class="input-icon input-icon-right"> <input
													type="email" id="email" value="${user.email}" name="email">
													<i class="icon-envelope"></i> </span>
											</div>
										</div>
										<div class="space-4"></div>
										<div class="space-4"></div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"
												for="form-field-phone">联系方式</label>
											<div class="col-sm-9">
												<span class="input-icon input-icon-right"> <input
													class="input-medium input-mask-phone" type="text"
													id="phone" name="phone" value="${user.phone}"> <i
													class="icon-phone icon-flip-horizontal"></i> </span>
											</div>
										</div>
										<div class="space"></div>
										<div class="form-group">
											<div id="edit-password" class="tab-pane">
												<div class="space-4"></div>
												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"
														for="form-field-pass2">设置新密码</label>
													<div class="col-sm-9">
														<input type="password" id="pwd" value=""
															name="pwd">
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-3 control-label no-padding-right"
														for="form-field-pass2">重复新密码</label>
													<div class="col-sm-9">
														<input type="password" id="repwd" value=""
															name="password">
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
								<div class="clearfix form-actions">
									<div class="col-md-offset-3 col-md-9">
										<button class="btn btn-info" type="submit">
											<i class="icon-ok bigger-110"></i> 保存信息
										</button>
										&nbsp; &nbsp;
										<button class="btn" type="reset">
											<i class="icon-undo bigger-110"></i> 重置信息
										</button>
									</div>
								</div>
							</div>
							<!-- /span -->
					</div>
					<!-- /user-profile -->
					</form>
					<!-- PAGE CONTENT ENDS -->
				</div>
				<!-- /.col -->
			</div>
			<!-- /.row -->
		</div>
		<!-- /.page-content -->
	</div>
	<!-- /.main-content -->
	<div class="ace-settings-container" id="ace-settings-container">
		<%@include file="adminfoot.jsp"%>
	</div>
	<!-- /#ace-settings-container -->
	</div>
	<!-- /.main-container-inner -->
	<a href="#" id="btn-scroll-up"
		class="btn-scroll-up btn btn-sm btn-inverse"> <i
		class="icon-double-angle-up icon-only bigger-110"></i> </a>
	</div>
	<!-- /.main-container -->
</body>
</html>

